package cn.cscb.mms.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 客户信息表
 *
 * @author Gao Yipeng
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("cus_info")
public class Customer implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 客户信息表逻辑主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户号
     */
    private String cusNo;
    /**
     * 客户名
     */
    private String cusName;
    /**
     * 客户详情信息
     */
    private String description;
    /**
     * 状态
     */
    private String state;
    /**
     * 客户资产
     */
    private BigDecimal property;
}
